import { commonUrl, postRequestWithNoTokenDataNew } from '@/libs/axios';

// 获取验证码
export const getCapture = (params) => {
  const business = params.business
  delete params.business
  return postRequestWithNoTokenDataNew(`${commonUrl}/common/common/slider/get/${business}`, params);
};

// 验证验证码
export const checkCapture = (params) => {
  const business = params.business
  delete params.business
  return postRequestWithNoTokenDataNew(`${commonUrl}/common/common/slider/${business}`, params);
};